Version

CoerceSnapToTickMarks Method

Iterates through all of the tick marks in all tick mark collections to find the closest tick mark to the position of new value.
Syntax
'Declaration
 
Protected Friend Function CoerceSnapToTickMarks( _
   ByVal newValue As Double _
) As Double
protected internal double CoerceSnapToTickMarks( 
   double newValue
)

Parameters

newValue
The value to find the nearest tick mark to

Return Value

The value of the nearest tickmark (if IsSnapToTickEnabled = true, otherwise just passes through the value)
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also